﻿using DCH.Areas.Admin.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace DCH.Models
{
    public class DbConnection : DbContext
    {
        public DbConnection()
            : base("name=DefaultConnection")
        { 
        }
        public DbSet<Tournament> Tournament { get; set; }
        public DbSet<Player> Player { get; set; }
        public DbSet<News> New { get; set; }
        public DbSet<Video> Video { get; set; }

        public DbSet<Register> Registers { get; set; }

        public DbSet<Page> Pages { get; set; }
       
    }
}